<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	template="/layout/page/search/custom-search-template.xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:sinox="http://www.sinosoft.com.cn/sinox"
	xmlns:p="http://primefaces.org/ui">
 
   <ui:param name="compId" value="#{commonContentViewBean.id}" />
	<ui:param name="compBean" value="#{commonContentViewBean}" />
	<ui:param name="compTitle" value="查询模板管理" />
	
	<ui:define name="compButtons"> 
	    <p:commandButton title="添加" value="添加" styleClass="portal-toolbar-button" type="button" />
	
		<p:commandButton title="查询" value="查询" styleClass="portal-toolbar-button" type="button" />
					
		<p:commandButton title="重置" value="重置" styleClass="portal-toolbar-button" type="button"
			onclick="" />
	</ui:define>
	
	<ui:define name="compContent">
	
		<ui:decorate template="/layout/input/editable-template.xhtml">
			 
			
			<!-- 第一行 -->
			<ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compBean1Id" value="templateNature" />
				<ui:param name="compBean1Lable" value="模板性质" />
				
				<ui:define name="compBean1Content">
					<sinox:inputText id="#{compBean1Id}" value="#{compBean.templateNature}" />
				</ui:define>
				
				<ui:param name="compBean2Id" value="templateName" />
				<ui:param name="compBean2Lable" value="模板名称" />
				
				<ui:define name="compBean2Content">
					<sinox:inputText id="#{compBean2Id}" value="#{compBean.templateName}" />
				</ui:define>
			</ui:decorate>

            <!-- 第二行 -->
            <ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compBean1Id" value="templateInformation" />
				<ui:param name="compBean1Lable" value="模板基本信息" />
				
				<ui:define name="compBean1Content">
					<sinox:inputText id="#{compBean1Id}" value="#{compBean.templateInformation}" />
				</ui:define>
				
			</ui:decorate>
		</ui:decorate>
	
	</ui:define>
	
	<ui:define name="compData">
		<ui:decorate template="/layout/iteration/datatable/default-datatable-single-template.xhtml">
			<ui:param name="compId" value="#{compId}_searchform" />
			<ui:param name="compViewBean" value="#{compBean.allView[0]}" />
		</ui:decorate>
	</ui:define>
		
</ui:composition>